package cn.stylefeng.guns.sys.modular.dbServicelist.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.models.auth.In;

import java.io.Serializable;

/**
 * <p>
 * 目录服务
 * </p>
 *
 * @author zhaoyiheng
 * @since 2020-08-19
 */
@TableName("db_exchange")
public class Exchange implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("exchange_name")
    private String exchangeName;

    @TableField("exchange_password")
    private String exchangePassword;

    @TableField("exchange_loc")
    private String exchangeLoc;

    @TableField("exchange_user")
    private String exchangeUser;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getExchangeName() {
        return exchangeName;
    }

    public void setExchangeName(String exchangeName) {
        this.exchangeName = exchangeName;
    }

    public String getExchangePassword() {
        return exchangePassword;
    }

    public void setExchangePassword(String exchangePassword) {
        this.exchangePassword = exchangePassword;
    }

    public String getExchangeLoc() {
        return exchangeLoc;
    }

    public void setExchangeLoc(String exchangeLoc) {
        this.exchangeLoc = exchangeLoc;
    }

    public String getExchangeUser() {
        return exchangeUser;
    }

    public void setExchangeUser(String exchangeUser) {
        this.exchangeUser = exchangeUser;
    }

    @Override
    public String toString() {
        return "DbExchange{" +
                "id=" + id +
                ", exchangeName=" + exchangeName +
                ", exchangeLoc=" + exchangeLoc +
                ", exchangeUser=" + exchangeUser +
                ", exchangePassword=" + exchangePassword +
                "}";
    }
}
